package org.bluesky.framework.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.bluesky.framework.ResponseResult;
import org.bluesky.framework.dto.UpdateUserDto;
import org.bluesky.framework.dto.UserDto;
import org.bluesky.framework.entity.User;
import org.bluesky.framework.vo.PageVo;
import org.bluesky.framework.vo.UserRoleVo;

/**
 * 用户表(SysUser)表服务接口
 *
 * @author makejava
 * @since 2023-02-14 15:02:09
 */
public interface UserService extends IService<User> {

    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult registerUser(User user);

    PageVo getArticleList(UserDto userDto, Integer pageNum, Integer pageSize);

    ResponseResult addUser(UserRoleVo userRoleVo);

    ResponseResult getUser(Long id);

    ResponseResult updateUser(UpdateUserDto userDto);
}

